<?php
/**
 * Created by PhpStorm.
 * User: xiaoshuang.li
 * Date: 2014/12/15
 * Time: 9:37
 */
?>
<!--    <link rel="stylesheet" type="text/css" media="screen" href="css/superfish-vertical.css" />-->
<?php wp_nav_menu(array(
    'menu_class'=>'container'
)); ?>
<div style="margin-bottom:10px"><a class="bshareDiv" target="_blank" href="http://www.bshare.cn/share" style="display: block; text-decoration: none; padding: 0px; margin: 0px; font-size: 12px; height: 24px; width: 110px;"><div class="bsPromo bsPromo1"></div><div class="buzzButton bsStyle1" style="height:24px;color:#333;;background:transparent url(http://static.bshare.cn/frame/images/button_custom1-zh-c.gif) no-repeat;text-align:center;width:110px;"><span style="font-weight: bold; position: relative; line-height: 25px; float: none; left: 36px; color: rgb(255, 255, 255);" class="shareCount">1</span></div><div style="clear:both;"></div></a><script language="javascript" type="text/javascript" src="http://www.bshare.cn/button.js"></script></div>
<script>
    $('.container').find('.current_page_item, .current-menu-item').closest('.sub-menu').show('slow');
    $(function(){
        $('.sf-vertical').superfish({
            pathClass:'current'
        });
        $('.menu-item-has-children').click(function(e){
            var self = $(this);
            if(self.hasClass('menu-item-has-children')){
                $('.container').find('.sub-menu').hide('slow');
                $(this).find('.sub-menu').toggle('slow');
            }
            e.stopPropagation();
        });
    });
</script>
